<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<%-- <a href="<c:url value='/admin/insu/insurance/ceshi' />">测试页面去</a> --%>
<div class="table-responsive">

<table class="cntable table table-bordered dataTable table-insurance ">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:80px">保险状态</th>
			<th style="width:80px">渠道名称</th>
			<th style="width:100px">热卖排序</th> 
			<th data-sortable="true" data-field="insuranceName" style="width:100px">保险名称</th>
			<th data-sortable="true" data-field="insuSortCode" style="width:100px">保险排序</th>
			<th data-sortable="true" data-field="insuranceOne" style="width:100px">所属险种</th> 
			<th style="width:100px">险种名称</th> 
			<th data-sortable="true" data-field="minPremium" style="width:100px">最低保费</th>
			<th data-sortable="true" data-field="insuranceCreateDate" style="width:100px">创建时间</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="insurance" items="${insurances}" varStatus="status">
			<tr data-id="${insurance.id}">
				<td>${status.index+1}</td>
				<td>
					<t:provider packageName="insu" enumClassName="InsuranceStatus" value="${insurance.status}"/> 
				</td>
				<td>
					<t:provider packageName="insu" enumClassName="InsuranceChannelNameStatus" value="${insurance.channelName}"/> 
				</td>
				<td>${insurance.hotSortCode}</td>
				<td>${insurance.insuranceName}</td>
				<td>${insurance.insuSortCode}</td>
				<td>${insurance.insuranceOne}</td>
				<td>${insurance.insuranceTwo}</td>
				<td>${insurance.minPremium}</td>
				<td><fmt:formatDate value="${insurance.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>